'Declaration Public Overloads Function When(Of TExpected As T)( _ ByVal guardCondition As Predicate(Of TExpected), _ ByVal func As Func(Of TExpected,TResult) _ ) As FunctionalExtensions.MatchBlock(Of T,TResult)
public FunctionalExtensions.MatchBlock<T,TResult> When<TExpected>( Predicate<TExpected> guardCondition, Func<TExpected,TResult> func ) where TExpected: T
Parameters
- guardCondition
- func
Type Parameters
- TExpected